using UnityEngine;

[CreateAssetMenu(menuName = "Game/Data/" +nameof(Dialogs))]
public class Dialogs : ScriptableObject
{
    [System.Serializable]
    public class Dialog
    {
        [SerializeField] private string name;
        [SerializeField] [TextArea(5, 10)] private string text;

        public string Name => name;
        public string Text => text;
    }

    [SerializeField] private Dialog[] dialogs;

    public Dialog[] Get => dialogs;
}
